package org.example.mallchat.service.iservice;

import org.example.mallchat.domain.entity.UserBackpack;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户背包表 服务类
 * </p>
 *
 * @author ZZH
 * @since 2024-12-22
 */
public interface IUserBackpackService extends IService<UserBackpack> {
    public int getRenameCardCount(String uid, Long id);


    public void reduceCardCount(String uid, Long id);

    public List<UserBackpack> getBadgeList(String uid, List<Long> itemIds);

    public void wearBadge(String uid, Long wearingItemId);

    UserBackpack getBackpackByIdempotent(String idempotentKey);
}
